// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** checkCode GET /api/account/checkCode */
export async function checkCodeUsingGet(options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/checkCode', {
    method: 'GET',
    ...(options || {})
  })
}

/** checkCode PUT /api/account/checkCode */
export async function checkCodeUsingPut(options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/checkCode', {
    method: 'PUT',
    ...(options || {})
  })
}

/** checkCode POST /api/account/checkCode */
export async function checkCodeUsingPost(options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/checkCode', {
    method: 'POST',
    ...(options || {})
  })
}

/** checkCode DELETE /api/account/checkCode */
export async function checkCodeUsingDelete(options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/checkCode', {
    method: 'DELETE',
    ...(options || {})
  })
}

/** checkCode PATCH /api/account/checkCode */
export async function checkCodeUsingPatch(options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/checkCode', {
    method: 'PATCH',
    ...(options || {})
  })
}

/** login GET /api/account/login */
export async function loginUsingGet(body: API.LoginRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/login', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** login PUT /api/account/login */
export async function loginUsingPut(body: API.LoginRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/login', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** login POST /api/account/login */
export async function loginUsingPost(body: API.LoginRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/login', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** login DELETE /api/account/login */
export async function loginUsingDelete(body: API.LoginRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/login', {
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** login PATCH /api/account/login */
export async function loginUsingPatch(body: API.LoginRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/login', {
    method: 'PATCH',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** logout GET /api/account/logout */
export async function logoutUsingGet(body: API.UserRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/logout', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** logout PUT /api/account/logout */
export async function logoutUsingPut(body: API.UserRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/logout', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** logout POST /api/account/logout */
export async function logoutUsingPost(body: API.UserRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/logout', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** logout DELETE /api/account/logout */
export async function logoutUsingDelete(body: API.UserRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/logout', {
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** logout PATCH /api/account/logout */
export async function logoutUsingPatch(body: API.UserRequest, options?: { [key: string]: any }) {
  return request<API.ResponseVO>('/api/account/logout', {
    method: 'PATCH',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** register GET /api/account/register */
export async function registerUsingGet(
  body: API.RegisterRequest,
  options?: { [key: string]: any }
) {
  return request<API.ResponseVO>('/api/account/register', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** register PUT /api/account/register */
export async function registerUsingPut(
  body: API.RegisterRequest,
  options?: { [key: string]: any }
) {
  return request<API.ResponseVO>('/api/account/register', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** register POST /api/account/register */
export async function registerUsingPost(
  body: API.RegisterRequest,
  options?: { [key: string]: any }
) {
  return request<API.ResponseVO>('/api/account/register', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** register DELETE /api/account/register */
export async function registerUsingDelete(
  body: API.RegisterRequest,
  options?: { [key: string]: any }
) {
  return request<API.ResponseVO>('/api/account/register', {
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}

/** register PATCH /api/account/register */
export async function registerUsingPatch(
  body: API.RegisterRequest,
  options?: { [key: string]: any }
) {
  return request<API.ResponseVO>('/api/account/register', {
    method: 'PATCH',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body,
    ...(options || {})
  })
}
